Xceed DataGrid for WPF v7.2 Documentation
InsertItem Method (ContentElementCollection<T>)


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid Namespace > ContentElementCollection<T> Class : InsertItem Method
The index for the new item.
The item to insert.
Inserts an item in the collection.
Syntax
'Declaration
 
Protected Overrides Sub InsertItem( _

   ByVal index As Integer, _

   ByVal item As T _

) 
'Usage
 
Dim instance As ContentElementCollection(Of T)

Dim index As Integer

Dim item As T

 

instance.InsertItem(index, item)
protected override void InsertItem( 

   int index,

   T item

)

Parameters

index
The index for the new item.
item
The item to insert.
Requirements

Target Platforms: Windows 11, Windows, 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ContentElementCollection<T> Class
ContentElementCollection<T> Members
Base Implementation in InsertItem